package com.qcby.shujia.demo.service;

import com.qcby.shujia.demo.entity.Tright;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: TrightService
 * @description: TODO 类描述
 * @author: whz
 * @date: 2021/9/20
 **/
public interface TrightService {
    //插入
    public int insert(Tright tright);
    //根据id删除
    public int delete(Integer id);
    //批量删除
    public int deletedisp(int[] ids);
    //查找全部
    public List<Tright> selectAll();
    //更新信息
    public int update(Tright tright);
}
